#ifndef __LIB_PCAP_H__
#define __LIB_PCAP_H__
#define READIO_HDR_SIZE     26 
typedef FILE * PCAP_HANDLE;
PCAP_HANDLE pcap_open(char *filename);
void pcap_close(PCAP_HANDLE handle);
int pcap_for_each_frame(PCAP_HANDLE handle, int (*fn_cb)(unsigned int no, unsigned char *buffer, unsigned int size));
unsigned int pcap_calc_crc32(unsigned int crc32val, unsigned char *s, unsigned int len);
#endif
